package com.ruicar.afs.cloud.common.mq.finance.debit.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.common.modules.contract.enums.BusinessTypeEnum;
import com.ruicar.afs.cloud.common.modules.contract.enums.ReceiptSourceTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-07-04 14:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ReceiptHandleCompleteDto implements Serializable {

    private Long receiptId;
    private BigDecimal handleAmount;
    private BigDecimal unusedAmount;
    private String operator;
    private ReceiptSourceTypeEnum receiptSourceType;
    private String sourceAccount;
    private String creditAccount;
    @ApiModelProperty("合同号")
    private String contractNo;
    @ApiModelProperty("埋点编号")
    private String buriedPointNo;
    @ApiModelProperty("车辆品牌")
    private String carBrand;
    @ApiModelProperty("金融产品")
    private String financialProducts;
    @ApiModelProperty("供应商名称")
    private String dealerName;
    @ApiModelProperty("业务类型 枚举值")
    @JSONField(name = "businessType")
    private BusinessTypeEnum businessType;
    private ArrayList<ReceiptHandleDetailDto> receiptHandleDetailList;
}
